<!doctype html>
<div class="navbar-inner">
                <ul class="nav pull-right">
                    <li id="fat-menu" class="dropdown">
                        <a href="#" role="button" class="dropdown-toggle" data-toggle="dropdown">
                            <i class="icon-user"></i> 
                            		 功能
                            <i class="icon-caret-down"></i>
                        </a>

                        <ul class="dropdown-menu">
                            <li>
                               <a  role="button" href="../../index.html"  id="logout" tabindex="-1" >注销</a>
                            </li>
                        </ul>
                    </li>
                    
                </ul>
                <a class="brand" href="../system/homepage.html"><span class="first">尚调</span> <span class="second">MIS</span></a>
</div>


<style type="text/css">
#line-chart {
	height: 300px;
	width: 800px;
	margin: 0px auto;
	margin-top: 1em;
}

.brand {
	font-family: georgia, serif;
}

.brand .first {
	color: #ccc;
	font-style: italic;
}

.brand .second {
	color: #fff;
	font-weight: bold;
}
</style>
<script type="text/javascript">
$("#logout").on("click",function(e){
	$.ajax({
		contentType : "application/json",
		url : api_base_url
				+ "/logout.json",
		dataType : "json",
		success : function(data) {
			if (data.code == "200") {
				window.location.href="../account/sign-in.html";
			}
		}
	});
});

</script>
